<?php
// Author: dolphinigle
// 28 March 2012
include 'config/koneksi.php';

if ($_GET[type] == 'delete') {
  // Remove it
  echo 'DELETE';
  $result = mysql_query("DELETE FROM komentar " .
                        " WHERE id_komentar='" . $_GET[id] . "'");
} else {
  exit('UNRECOGNIZED TYPE PARAMETER');
}

 echo $result;
?>
